#include <iostream>
#include "caculator.h"


int main()
{
	char Str1[StrExtFloat_slen]="2^(1+3)-5*(15.23)/(1+2)*3-5";
	double num1[StrExtFloat_flen] = {0.};
	char str1[StrExtFloat_slen]={'\0'};
	
	StrExtFloat(num1,Str1,str1);
        caculator(num1,Str1,str1);

	char Str2[StrExtFloat_slen]="1.25+(3*(1+2^2)*3-43)^(4-2)";
	double num2[StrExtFloat_flen] = {0.};
	char str2[StrExtFloat_slen]={'\0'};
	
	StrExtFloat(num2,Str2,str2);
        caculator(num2,Str2,str2);

	char Str3[StrExtFloat_slen]="2^(1+3))-5*(15.23)/(1+2)*3-5";
	double num3[StrExtFloat_flen] = {0.};
	char str3[StrExtFloat_slen]={'\0'};
	
	StrExtFloat(num3,Str3,str3);
        caculator(num3,Str3,str3);

	char Str4[StrExtFloat_slen]="2^(1+3)-5*(15.23)/(1-1)*3-5";
	double num4[StrExtFloat_flen] = {0.};
	char str4[StrExtFloat_slen]={'\0'};
	
	StrExtFloat(num4,Str4,str4);
        caculator(num4,Str4,str4);

	char Str5[StrExtFloat_slen]="(2-2)^(0+0)-5*(15.23)/(1+2)*3-5";
	double num5[StrExtFloat_flen] = {0.};
	char str5[StrExtFloat_slen]={'\0'};
	
	StrExtFloat(num5,Str5,str5);
        caculator(num5,Str5,str5);

	char Str6[StrExtFloat_slen]="1.25++(3*(1+2^2)*3-43)^(4-2)";
	double num6[StrExtFloat_flen] = {0.};
	char str6[StrExtFloat_slen]={'\0'};
	
	StrExtFloat(num6,Str6,str6);
        caculator(num6,Str6,str6);
	
	char Str7[StrExtFloat_slen]="1.2.5+(3*(1+2^2)*3-43)^(4-2)";
	double num7[StrExtFloat_flen] = {0.};
	char str7[StrExtFloat_slen]={'\0'};
	
	StrExtFloat(num7,Str7,str7);
        caculator(num7,Str7,str7);
	
	return 0;
}
